As a start, we can consider what we are going to want to do with our LCD. I have identified the following actions:

  • turn the LCD on

  • clear the LCD

  • print a single character

  • print a string of characters

  • position the cursor on the screen

There may be other operations we want to perform, but for now these will do. Note that I am not going into detail about how these actions will actually be performed, what I want to do at the specification stage is identify what actions need to be performed. If I was doing the LCD interface for a customer I'd write down each of these items and we would agree in detail what each does.

 

initializing the LCD screen
The LCD display ready for action